package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@ApiModel("ChannelIntegralExchange对象")
@TableName("eb_channel_integral_exchange")
public class ChannelIntegralExchange implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单号")
    private String orderId;

    @ApiModelProperty("用户id")
    private Integer uid;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户手机号")
    private String userPhone;

    @ApiModelProperty("兑换商品类型")
    private Integer productType;

    @ApiModelProperty("兑换商品id")
    private Integer productId;

    @ApiModelProperty("源skuid")
    private String sourceSkuId;

    @ApiModelProperty("兑换积分")
    private BigDecimal exchangeIntegral;

    @ApiModelProperty("用户兑换选择地址")
    private String userAddress;

    @ApiModelProperty("商户id")
    private Integer merId;

    @ApiModelProperty("订单状态（1：待发货 2：已发货）")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
